package com.mk.model.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.mk.base.entity.BaseEntity;

import java.io.Serializable;

/**
 * @Author: yq
 * @Description:
 * @Date: Created in 3:46 PM 3/13/18
 */
@TableName("sys_resource")
public class Resource extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private String code;
    private String name;
    private String description;
    private String icon;
    private String type;
    private String url;
    @TableField("parent_id")
    private Long parentId;
    private Integer sequence;
    private Integer status;
    @TableField("is_fixed")
    private Integer isFixed;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsFixed() {
        return isFixed;
    }

    public void setIsFixed(Integer isFixed) {
        this.isFixed = isFixed;
    }
}
